home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / tex / xtexcad-.000 / xtexcad- / orig_src / pickedit.h < prev    next >
C/C++ Source or Header  |  1993-03-04  |  2KB  |  64 lines

  1. /* xtexcad  V1.2 - graphic editor for LaTeX */
  2. /* 1991 by K.Zitzmann */
  3. /* header-file pickedit.h */
  4.  
  5. #ifndef PICKEDITH
  6. #define PICKEDITH
  7.  
  8. int analyse_pin(struct fig2 *p, int *d, int xpos, int ypos);
  9. int analyse_nbox(struct fig3 *p, int *d, int xpos, int ypos);
  10. int analyse_dbox(struct fig4 *p, int *d, int xpos, int ypos);
  11. int analyse_fbox(struct fig2 *p, int *d, int xpos, int ypos);
  12. int analyse_ncircle(struct fig2 *p, int *d, int xpos, int ypos);
  13. int analyse_ocircle(struct fig1 *p, int *d, int xpos, int ypos);
  14. int analyse_fcircle(struct fig2 *p, int *d, int xpos, int ypos);
  15. void init_pick(void);
  16. void set_pick_stack(int x, int y);
  17. void insert_object(void *p, int d, char c);
  18. int nextObject(void);
  19. void set_pick_object(void);
  20. void set_copy_object();
  21. void manage_pick(void);
  22. int pick_move(int x, int y);
  23. void pick_edit(void);
  24. void erase_current_object(void);
  25. void prepare_top_stack_object(void);
  26. void set_pick_erase(void);
  27. void pick_erase(void);
  28. void init_no_objects_sign(void);
  29. void pick_manager(void);
  30. void leave_pick(char *msg);
  31. void edit_y_line(void);
  32. void edit_x_line(void);
  33. void edit_y_vector(void);
  34. void edit_x_vector(void);
  35. void set_dash_mode(void);
  36. void set_normal_mode(void);
  37. void del_vector_marker(float x, float y, float h, float v);
  38. int calc_distance(int x, int y, int h, int v);
  39. void edit_frame(char c);
  40. void draw_edit_marker(float x, float y, float h, float v);
  41. void edit_circle(char c);
  42. int valid_circle_edit(int x, int y);
  43. void manage_copy(void);
  44. void copy_manager(void);
  45. void copy_it(int x, int y);
  46. void edit_bezier_curveS(void);
  47. void edit_bezier_curveE(void);
  48. void edit_bezier_curveA(void);
  49.  
  50.  
  51.  
  52.  
  53. #define sumobj 5
  54.  
  55. extern int maxobj;
  56. extern char kind[sumobj];
  57. extern int distance[sumobj];
  58. extern void *obj[sumobj];
  59. extern int tip;
  60.  
  61. extern int x_pick, y_pick, currIndex;
  62.  
  63. #endif
  64.